package com.mspbots.cw.amqp.model;

import com.fasterxml.jackson.databind.JsonNode;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.data.annotation.Id;
import org.springframework.data.relational.core.mapping.Table;

import java.time.LocalDateTime;

/**
 * com.mspbots.sync.scheduled.tsheets.model.SheetsUser
 *
 * @author Alex bob(https://github.com/vnobo)
 * @date Created by 2019/7/25
 */
@Data
@Accessors(chain = true)
@Table("tsheet_users")
public class SheetsUser {

    @Id
    private Long id;
    private Integer tenantId;
    private Long sheetUserId;
    private String firstName;
    private String lastName;
    private String email;
    private LocalDateTime lastModified;
    private LocalDateTime syncTime;
    private JsonNode extend;

}
